﻿using System;
/*
 * Write an expression that checks for given integer if its third digit from right-to-left is 7.
 */

class ThirdDigitIs7
{
    static void Main()
    {
        Console.Write("Enter number: ");
        int number = int.Parse(Console.ReadLine());

        if (number < 100)
        {
            Console.WriteLine("You have to enter minimum 3 digits");
            
        }
        else
        {
            if ((number / 100) % 10 != 7)
            {
                Console.WriteLine("false");
            }
            else
            {
                Console.WriteLine("true");
            }

        }
    }
}
